def test1(num):
    print(num)
    if num == 1:
        return  # 有出口
    test1(num - 1)  # 自己调用自己


test1(3)
